package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

/**
 * @author 刘付磊
 * @date 2021/11/11 0011
 */
public interface UserApi {
    //根据手机号查询用户
    User findByMobile(String mobile);

    //保存用户，返回用户ID
    Long save(User user);

    void update(User user);

    User findById(Long userId);

    User userInfoByIdHuanXin(String huanxinid);
}
